package com.example.goods_service.service;

import com.example.goods_service.vo.T_commodity;
import com.example.goods_service.vo.T_commodity_allocation;
import com.example.goods_service.vo.T_commodity_category;

import java.util.List;

public interface GoodsService_liyongjie {

    //添加当前需要的类别
    int insertcat(T_commodity_category category);

    //修改当前选择的类别
    int updatecat(T_commodity_category category);

    //删除当前选中的类别
    int deletecat(T_commodity_category category);

    //删除当前选中类别的后续类别
    int deletecatpid(T_commodity_category category);

    List<T_commodity> selectcom();

    int updacom(T_commodity commodity);

    int deletecom(T_commodity commodity);

    int deletecompz(int category_id);

    int deletecompzgg(T_commodity_allocation allocation);

    void deleteconfig(int category_id);

    void deleteattribute(int category_id);
}
